#include "List.h"
void TestList()
{
	LTNode* n1 = (LTNode*)malloc(sizeof(LTNode));
	n1->data = 1;

	LTNode* n2 = (LTNode*)malloc(sizeof(LTNode));
	n2->data = 2;

	LTNode* n3 = (LTNode*)malloc(sizeof(LTNode));
	n3->data = 3;

	LTNode* n4 = (LTNode*)malloc(sizeof(LTNode));
	n4->data = 4;

	n1->next = n2;
	n2->next = n3;
	n3->next = n4;
	n4->next = NULL;

	LTNode* plist = n1;
	ListPrint(plist);
}
int main()
{
	TestList();

	return 0;
}

